﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace SaaSKit.Taskr.Service
{
    [DataContract(Namespace = "SaaSKit.Taskr", Name = "Settings")]
    public class SettingsDTO
    {
        [DataMember(Name = "CustomStyle")]
        public string CustomStyle { get; set; }

        [DataMember(Name = "CustomStatuses")]
        public string CustomStatuses { get; set; }

        [DataMember(Name = "CustomLogoUrl")]
        public Uri CustomLogoUrl { get; set; }

        public override string ToString()
        {
            return string.Format
            (
                "CustomLogoUrl: '{0}'\nCustomStatuses: '{1}'\nCustomStyle: '{2}'\n",
                CustomLogoUrl, CustomStatuses, CustomStyle
            );
        }
    }
}
